package com.gaga.demo;

import com.gaga.demo.service.DemoService;
import org.junit.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class DemoServiceTester {
    @Resource
    private DemoService demoService;

    @Test
    public void testSayHello(){
        String msg=demoService.sayHello();
        System.out.println("msg:"+msg);
    }

}
